#{extends 'orgLead.html'/}
<a href = "@{Application.showOrg(org.id)}">Back to ${org.name}</a>
<br><br>
#{if log}
<table style="border: solid;" >
  <tr>
    <td><b>User</b></td>
    <td><b>Action</b></td>
    <td><b>Date</b></td>
  </tr>
#{list items: log, as: 'item'}
  <tr>
    <td>${item.user.nickName}</td>
    <td><b>${item.action}</b></td>
    <td>${item.inDate.format('dd MMMM yyyy hh:mm')}</td>
  </tr>
#{/list}
</table>
#{/if}
#{else}
Nothing is logged by the system!!
#{/else}